home *** CD-ROM | disk | FTP | other *** search
/ Aminet 4 / Aminet 4 - November 1994.iso / aminet / dev / gui / textfield.lha / TextField / History < prev    next >
Encoding:
Text File  |  1994-06-27  |  2.9 KB  |  69 lines

  1. ***********************************************************
  2.  
  3. This file contains the update notes on the textfield.gadget
  4.  
  5. ***********************************************************
  6.  
  7. Version 1.1
  8. -----------
  9.  
  10. - The EDIT_Text now works in all cases.  It used to only work
  11.   on creation and get methods.
  12.  
  13.  
  14. Version 1.2
  15. -----------
  16.  
  17. - The name is no longer editor.gadget.  That name was too general,
  18.   as Christoph Feck pointed out.  The name textfield.gadget has
  19.   been chosen as the new name since it more accurately describes
  20.   the gadget's purpose.  So that you will know how to convert, here
  21.   is a list of files that have changed names that would affect
  22.   development:
  23.  
  24.   doc/editor_gc.doc                 ->  textfield_gc.doc
  25.   doc/editor_gc.guide               ->  textfield_gc.guide
  26.   fd/editor.fd                      ->  textfield.fd
  27.   gadgets/editor.gadget             ->  textfield.gadget
  28.   include/gadgets/editor.h          ->  textfield.h
  29.   include/pragmas/editor_pragmas.h  ->  textfield_pragmas.h
  30.   include/proto/editor.h            ->  textfield.h
  31.  
  32.   Also, in your source code I think I've made it easy to change, but
  33.   if you have problems, I'm very sorry.  Here's how: use your text
  34.   editor to replace all occurances of EDIT_ with TEXTFIELD_.
  35.  
  36. - The text pen now defaults to TEXTPEN instead of SHADOWPEN.
  37.  
  38. - The undo buffer is now cleared after you undo so that you don't
  39.   accidentally undo the same thing multiple times.  I should note
  40.   that the undo function just drops the text at the current
  41.   cursor position.
  42.  
  43. - As per request of a few people, the TEXTFIELD_Down event now
  44.   will not let the last line scroll to the top of the gadget, but
  45.   rather it stops at the bottom, like when you cursor down.
  46.  
  47. - There is no highlight or block mode anymore in the old sense
  48.   of turning it on and off.  You only need to click and drag
  49.   to highlight text.  Hitting any key replaces the highlighted
  50.   text like normal, and hitting backspace or delete removes the
  51.   highlighted text like normal.  The cut, copy, and paste keys
  52.   also work normally.  The new features are that the right and
  53.   down cursor keys unhighlight the text and take you to the
  54.   end of the highlighted text.  And the left and up cursor keys
  55.   unhighlight the text and take you to the front of the
  56.   highlighted text.  (This new method can make scrolling with with
  57.   the mouse pointer unfriendly, and you can accidentally delete
  58.   text after scrolling by hitting a single key, but if an undo IFF
  59.   stream is provided then the user can get the text back.  I have
  60.   asked many people whether they prefer single or double-click
  61.   block modes and it has been about 50-50.  This method conforms
  62.   to modern thinking, from what I understand.)
  63.  
  64. - A memory leak that occurred if the library was expunged has
  65.   been fixed.  It was usually about 4k.
  66.  
  67. - TEXTFIELD_CursorPos now will scroll the text to the position the
  68.   cursor is set to if needed.
  69.